home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XmbTextEscapement.z / XmbTextEscapement
Encoding:
Text File  |  1998-10-30  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmbbbbTTTTeeeexxxxttttEEEEssssccccaaaappppeeeemmmmeeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXmmmmbbbbTTTTeeeexxxxttttEEEEssssccccaaaappppeeeemmmmeeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XmbTextEscapement, XwcTextEscapement - obtain the escapement
  10.           of text
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           int XmbTextEscapement(_f_o_n_t__s_e_t, _s_t_r_i_n_g, _n_u_m__b_y_t_e_s)
  14.                 XFontSet _f_o_n_t__s_e_t;
  15.                 char *_s_t_r_i_n_g;
  16.                 int _n_u_m__b_y_t_e_s;
  17.  
  18.           int XwcTextEscapement(_f_o_n_t__s_e_t, _s_t_r_i_n_g, _n_u_m__w_c_h_a_r_s)
  19.                 XFontSet _f_o_n_t__s_e_t;
  20.                 wchar_t *_s_t_r_i_n_g;
  21.                 int _n_u_m__w_c_h_a_r_s;
  22.  
  23.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  24.           _f_o_n_t__s_e_t  Specifies the font set.
  25.  
  26.           _n_u_m__b_y_t_e_s Specifies the number of bytes in the string
  27.                     argument.
  28.  
  29.           _n_u_m__w_c_h_a_r_s
  30.                     Specifies the number of characters in the string
  31.                     argument.
  32.  
  33.           _s_t_r_i_n_g    Specifies the character string.
  34.  
  35.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  36.           The _X_m_b_T_e_x_t_E_s_c_a_p_e_m_e_n_t and _X_w_c_T_e_x_t_E_s_c_a_p_e_m_e_n_t functions return
  37.           the escapement in pixels of the specified string as a value,
  38.           using the fonts loaded for the specified font set.  The
  39.           escapement is the distance in pixels in the primary draw
  40.           direction from the drawing origin to the origin of the next
  41.           character to be drawn, assuming that the rendering of the
  42.           next character is not dependent on the supplied string.
  43.  
  44.           Regardless of the character rendering order, the escapement
  45.           is always positive.
  46.  
  47.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.           XmbTextExtents(3X11), XmbTextPerCharExtents(3X11) _X_l_i_b - _C
  49.           _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.